package datatypes.tv;

import datatypes.Datatypes.tableType;


public class tvActor {
	private String actor_id;
	private String actor_name;
	private tvStarringRoles tv_starring_roles;
	private tvGuestRoles tv_guest_roles;
 
	private tableType type;
	
	public tvActor(String actor_name, String actor_id) {
		this.actor_id = actor_id;
		this.actor_name = actor_name;
		this.tv_guest_roles = new tvGuestRoles();
		this.tv_starring_roles = new tvStarringRoles();
		setType(tableType.tvActor);
	}

	public String getActorID() {
		return actor_id;
	}
	
	public void addStarringRole(tvStarringRole starringRole){
		tv_starring_roles.addStarringRole(starringRole);
	}
	
	public void addGuestRole(tvGuestRole guestRole){
		tv_guest_roles.addGuestRole(guestRole);
	}
 
	public void setActorID(String actorID) {
		this.actor_id = actorID;
	}

	public String getName() {
		return actor_name;
	}
	
	public tvGuestRoles getActorGuestRoles() {
		return tv_guest_roles;
	}
	
	public tvStarringRoles getActorStarringRoles() {
		return tv_starring_roles;
	}

	public void setName(String name) {
		this.actor_name = name;
	}

	public tableType getType() {
		return type;
	}

	public void setType(tableType type) {
		this.type = type;
	}

}
